package com.haoan.index.domain;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.annotations.ApiParam;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.haoan.common.annotation.Excel;
import com.haoan.index.base.BaseEntity;

/**
 * 企业人员对象 web_personnel
 *
 * @author autoGen
 * @date 2025-01-03
 */
@Data
@Schema(description = "企业人员")
@TableName("web_personnel")
public class Personnel extends BaseEntity implements Serializable
        {
private static final long serialVersionUID=1L;

    /** $column.columnComment */
    @TableId(value = "id", type = IdType.AUTO)
    @Schema(description = "PK_web_personnel")
    @ApiParam(name = "id",value = "PK_web_personnel")
    private Long id;

    /** $column.columnComment */
    @Schema(description = "企业人员-${comment}")
    @ApiParam(name = "introduceId",value = "企业人员-${comment}")
    @Excel(name = "${comment}" , readConverterExp = "$column.readConverterExp()")
    @TableField(value = "`introduce_id`")
    private Long introduceId;

    /** 名称 */
    @Schema(description = "企业人员-名称")
    @ApiParam(name = "name",value = "企业人员-名称")
    @Excel(name = "名称")
    @TableField(value = "`name`")
    private String name;

    /** 职位 */
    @Schema(description = "企业人员-职位")
    @ApiParam(name = "posts",value = "企业人员-职位")
    @Excel(name = "职位")
    @TableField(value = "`posts`")
    private String posts;

    /** 照片 */
    @Schema(description = "企业人员-照片")
    @ApiParam(name = "photo",value = "企业人员-照片")
    @Excel(name = "照片")
    @TableField(value = "`photo`")
    private String photo;

    /** 简介 */
    @Schema(description = "企业人员-简介")
    @ApiParam(name = "brief",value = "企业人员-简介")
    @Excel(name = "简介")
    @TableField(value = "`brief`")
    private String brief;

    /** 是否启用（字典sys_yes_no） */
    @Schema(description = "企业人员-是否启用")
    @ApiParam(name = "status",value = "企业人员-是否启用")
    @Excel(name = "是否启用" , readConverterExp = "字=典sys_yes_no")
    @TableField(value = "`status`")
    private String status;

    /** 创建时间 */
    @TableField(value = "`create_time`")
    private Date createTime;

    /** 创建人 */
    @TableField(value = "`create_by`", fill = FieldFill.INSERT)
    private String createBy;

    /** 修改时间 */
    @TableField(value = "`update_time`")
    private Date updateTime;

    /** 修改人 */
    @TableField(value = "`update_by`", fill = FieldFill.INSERT_UPDATE)
    private String updateBy;

    /** 有效标志1有效0无效(无效数据任何地方不可见) */
    @Schema(description = "企业人员-有效标志1有效0无效(无效数据任何地方不可见)")
    @ApiParam(name = "valiFlag",value = "企业人员-有效标志1有效0无效(无效数据任何地方不可见)")
    @Excel(name = "有效标志1有效0无效(无效数据任何地方不可见)")
    @TableField(value = "`vali_flag`")
    private Integer valiFlag;

    @TableField(exist = false)
    private String introduceName;
}

